package com.itheima.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.entity.SysConfig;
import com.itheima.mapper.ConfigMapper;
import com.itheima.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2022-05-22
 */
@Service
public class ConfigServiceImpl extends ServiceImpl<ConfigMapper, SysConfig> implements ConfigService {
    @Autowired
    private ConfigMapper configMapper;

    @Override
    public List<String> get() {
        List<String> strings = configMapper.get();
        return strings;
    }

}
